package cn.minhx.domain.activity.adapter;

import cn.minhx.domain.activity.model.valobj.GroupBuyActivityDiscountVO;
import cn.minhx.domain.activity.model.valobj.SCSkuActivityVO;
import cn.minhx.domain.activity.model.valobj.SkuVO;

/**
 * 活动仓储
 *
 * @author minhx
 */
public interface IActivityRepository {

	SCSkuActivityVO querySCSkuActivityBySCGoodsId(String source, String channel, String goodsId);

	GroupBuyActivityDiscountVO queryGroupBuyActivityDiscountVO(Long activityId);

	SkuVO querySkuByGoodsId(String goodsId);

	boolean withinCrowdTag(String tagId, String userId);

	boolean downgradeSwitch();

	boolean cutRange(String userId);
}
